/**
 * “网点管理”相关接口
 */
import Http from 'utils/request'
const context = process.env.VUE_APP_CONSOLE_PATH

/**
 * 网点列表
 */
export function ssmQuerySsmApi(data) {
  return Http.fetch(context + '/ssm/querySsm', data, {
    method: 'post',
    hasErrMsg: true
  })
}

/**
 * 网点新增/修改/删除
 */
export function ssmSaveOrUpdateSsmApi(data) {
  return Http.fetch(context + '/ssm/saveOrUpdateSsm', data, {
    method: 'post',
    hasErrMsg: true
  })
}

/**
 * 网点删除
 */
export function ssmDeleteSsmApi(data) {
  return Http.fetch(context + '/ssm/deleteSsm', data, {
    method: 'post',
    hasErrMsg: true
  })
}
